package com.pingan.haofang.searchcloud.index.dto;

public class IndexBuildDataFetchRequest {

    private int pageNo;
    private int pageSize;
    private long before;
    private int startPage;

    /**
     * 上一次传输的最大ID
     */
    private Long lastMaxId;


    public IndexBuildDataFetchRequest() {
    }

    public IndexBuildDataFetchRequest(int pageNo, int pageSize, long before) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.before = before;
        this.startPage = startPage;
    }

    public IndexBuildDataFetchRequest(int pageNo, int pageSize, long before, Long lastMaxId) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.before = before;
        this.startPage = startPage;
        this.lastMaxId = lastMaxId;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public long getBefore() {
        return before;
    }

    public void setBefore(long before) {
        this.before = before;
    }

    public int getStartPage() {
        return startPage;
    }

    public void setStartPage(int startPage) {
        this.startPage = startPage;
    }

    public Long getLastMaxId() {
        return lastMaxId;
    }

    public void setLastMaxId(Long lastMaxId) {
        this.lastMaxId = lastMaxId;
    }
}
